package com.xbongbong.paas.gateway.config;

/**
 * 网关常量
 * @author kaka
 * @date 2019/4/10 20:16
 * @since v1.0
 * @version v1.0
 */
public class GatewayConstant {

    /**
     * 不需要拦截的链接格式
     */
    public static final String[] NO_FILTER_PATH_PREFIX = {
            // 钉钉交互回调
            "/pro/v1/dingtalk",
            "/pro/v1/dingtalkf",
            "/pro/v1/connection/dingtalk",
            "/pro/v1/bundle/mini",
            // 登录前链接
            "/pro/v1/login",
            // 脚本链接
            "/pro/v1/script",
            // 转换pdf接口
            "/pro/v1/print/convertPdf",
            "/pro/v1/print/mobile/convertPdf",
            // 表单导入
            "/pro/v1/file/excel/import/form/data",
            // 业绩目标导入
            "/pro/v1/file/excel/performance/importExcel",
            // 短信导入
            "/pro/v1/file/excel/sms/importExcel",
            // 自定义图表
            "/pro/v1/chart/init/updateData",
            // 退回公海脚本
            "/pro/v1/customerPublicRule/returnCustomer2Public",
            //客户自定义消息，合同到期提醒，销售机会到期提醒 消息数据入库
            "/pro/v1/promessage/remind/businessToPush",
            //销售简报统计数据入库
            "/pro/v1/promessage/remind/saveAllTargetData",
            //销售简报消息，未回款提醒，逾期回款提醒 消息数据入库
            "/pro/v1/promessage/remind/saveAllPushData",
            // 搜客开户
            "/pro/v1/searchCustomer/initMenu",
            "/pro/v1/searchCustomer/register",
            "/pro/v1/searchCustomer/registerCallback",
            "/pro/v1/searchCustomer/unbind",
            "/pro/v1/searchCustomer/meal",
            "/pro/v1/searchCustomer/user/package",
            "/pro/v1/searchCustomer/info",
            "/pro/v1/searchCustomer/notifyCallback",
            // 工单评价接口
            "/pro/v1/mobile/workOrder/center/evaluate/save",
            // 短信套餐支付回调
            "/pro/v1/mobile/alipay/notify/sms",
//            "/pro/v1/alipay/return/sms",
//            "/pro/v1/alipay/api/sms"
            "/pro/v1/mirror/rollBackToInit",
            "/pro/v1/mirror/rollBackToPrevious",

            // 呼叫中心客户端回调接口
            "/pro/v1/callCenter/callRecordLog/save",
            "/pro/v1/aliyunCallCenter/account/notify/call",
            "/pro/v1/aliyunCallCenter/account/getPayInfo",
            "/pro/v1/aliyunCallCenter/number/numberApply",
            "/pro/v1/aliyunCallCenter/admin/",
            "/pro/v1/aliyunCallCenter/script/",
            "/pro/v1/aliyunCallCenter/outerLink/getSignature",
            "/pro/v1/aliyunCallCenter/outerLink/numberApply",
            "/pro/v1/aliyunCallCenter/open",
            "/pro/v1/aliyunCallCenter/digitalHub",

            // 工单初始化
            "/pro/v1/workOrderV2/init/menuInit",
            "/pro/v1/distributor/menuInit",
            "/pro/v1/workOrderV2/process/menuInit",

            // 精线索&移动端 精线索菜单初始化 第三方获取用户个人用量统计 用量回调接口地址
            "/pro/v1/fineClue/add/customer",
            "/pro/v1/fineClue/initMenu",
            "/pro/v1/fineClue/get/userSurplusUsage",
            "/pro/v1/fineClue/getUseDosage",
            "/pro/v1/mobile/fineClue/add/customer",
            "/pro/v1/mobile/fineClue/get/userSurplusUsage",
            "/pro/v1/mobile/fineClue/getUseDosage"
            ,"/pro/v1/autoAssignment/clue" // 本地测试
            // 新工单评价接口
            ,"/pro/v1/workOrderV2/mobile/evaluation/evaluate/save",
            "/pro/v1/mobile/fineClue/getUseDosage",

            // AI销小帮
            "/pro/v1/ai/combo/company",

            // webHook回调接收，用于测试
            "/pro/v1/apitest/callback",

            // 初始化合同比对菜单和应用, admin那边调用
            "/pro/v1/contractCompare/initMenu",

            // sso登录过程相关接口
            "/pro/v1/sso/",
            // wps的sdk回调接口
            "/pro/v1/onlineEditor/v3/3rd"
    };

}
